package com.ruoyi.sale.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收款记录
对象 gas_receive_record
 * 
 * @author h w
 * @date 2022-12-09
 */
public class ReceiveRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收款记录ID */
    private Long receiveRecordId;

    /** 付款人 */
    @Excel(name = "付款人")
    private String paymentPerson;

    /** 付款单位 */
    @Excel(name = "付款单位")
    private String paymentUnit;

    /** 收款人 */
    @Excel(name = "收款人")
    private String receivePerson;

    /** 收款单位 */
    @Excel(name = "收款单位")
    private String receiveUnit;

    /** 收款金额 */
    @Excel(name = "收款金额")
    private BigDecimal receiveAmount;

    /** 收款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiveTime;

    public void setReceiveRecordId(Long receiveRecordId) 
    {
        this.receiveRecordId = receiveRecordId;
    }

    public Long getReceiveRecordId() 
    {
        return receiveRecordId;
    }
    public void setPaymentPerson(String paymentPerson) 
    {
        this.paymentPerson = paymentPerson;
    }

    public String getPaymentPerson() 
    {
        return paymentPerson;
    }
    public void setPaymentUnit(String paymentUnit) 
    {
        this.paymentUnit = paymentUnit;
    }

    public String getPaymentUnit() 
    {
        return paymentUnit;
    }
    public void setReceivePerson(String receivePerson) 
    {
        this.receivePerson = receivePerson;
    }

    public String getReceivePerson() 
    {
        return receivePerson;
    }
    public void setReceiveUnit(String receiveUnit) 
    {
        this.receiveUnit = receiveUnit;
    }

    public String getReceiveUnit() 
    {
        return receiveUnit;
    }
    public void setReceiveAmount(BigDecimal receiveAmount) 
    {
        this.receiveAmount = receiveAmount;
    }

    public BigDecimal getReceiveAmount() 
    {
        return receiveAmount;
    }
    public void setReceiveTime(Date receiveTime) 
    {
        this.receiveTime = receiveTime;
    }

    public Date getReceiveTime() 
    {
        return receiveTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("receiveRecordId", getReceiveRecordId())
            .append("paymentPerson", getPaymentPerson())
            .append("paymentUnit", getPaymentUnit())
            .append("receivePerson", getReceivePerson())
            .append("receiveUnit", getReceiveUnit())
            .append("receiveAmount", getReceiveAmount())
            .append("receiveTime", getReceiveTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
